package com.jiudengnile.liushu.web.action;

import wint.help.biz.result.Result;
import wint.mvc.flow.FlowData;
import wint.mvc.template.Context;

import com.jiudengnile.liushu.biz.ao.AdminAO;
import com.jiudengnile.liushu.web.common.base.BaseAction;

public class Crm extends BaseAction {
	
	private AdminAO adminAO;
	
	public void index(FlowData flowData, Context context) {
		int page = flowData.getParameters().getInt("page", 1);
		Result result = adminAO.viewAdminPage(page);
		this.handleResult(result, flowData, context);
	}

	public void setAdminAO(AdminAO adminAO) {
		this.adminAO = adminAO;
	}

}
